//
//  SelectPop.h
//  ChampoinPeso
//
//  Created by mac on 2025/2/20.
//

#import <Foundation/Foundation.h>
#import "BRStringPickerView.h"
#import "InfoModel.h"
NS_ASSUME_NONNULL_BEGIN
typedef void(^CommitAction)(BRResultModel *model);
typedef void(^AddressCommitAction)(NSArray<BRResultModel *> *resultModelArr);
typedef void(^DateCommitAction)(NSString *res);
typedef void(^LogoutCommitAction)(void);
typedef void(^AccountCommitAction)(void);
typedef void(^TAction)(void);

@interface SelectPop : NSObject
+(instancetype)getInstance;
-(void)dateSelect;
-(void)citySelect:(NSDictionary*)source name:(NSString *)name;
-(void)oneSelect:(InfoModel *)model key:(int)index;
-(void)logOut;
-(void)accountCancellation;
@property (nonatomic, copy) CommitAction commitAction;
@property (nonatomic, copy) AddressCommitAction addressCommitAction;
@property (nonatomic, copy) DateCommitAction dateCommitAction;
@property (nonatomic, copy) LogoutCommitAction logoutCommitAction;
@property (nonatomic, copy) AccountCommitAction accountCommitAction;
@property (nonatomic, copy) TAction tAction;

@end    

NS_ASSUME_NONNULL_END
